/* =========
   Base Reset
   ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========
   Color Theme: mostly white, black, blue
   ========= */
:root {
  --bg-page: #f5f7ff;
  --bg-header: #020617;
  --bg-footer: #020617;
  --bg-card: #ffffff;
  --bg-accent: #2563eb;
  --bg-accent-dark: #1d4ed8;
  --bg-muted: #e5edff;

  --text-main: #020617;
  --text-muted: #4b5563;
  --text-light: #f9fafb;

  --border-soft: #d1d5db;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.12);
}

/* =========
   Layout
   ========= */
html, body {
  height: 100%;
}

body {
  background: var(--bg-page);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

/* A generic wrapper for page content */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  width: 100%;
}

/* =========
   Header / Navbar
   ========= */
.site-header {
  background: var(--bg-header);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.6);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 48px;
  display: block;
}

/* Main nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bg-accent);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Active link helper class */
.main-nav a.active {
  color: var(--bg-accent);
}

/* Mobile nav (simple stack) */
@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* =========
   Hero / Page title
   ========= */
.page-hero {
  padding: 2rem 1rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bg-header);
  margin-bottom: 0.5rem;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* =========
   Card-style content container
   ========= */
.page-content-card {
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.5rem;
  margin-top: 1.5rem;
}

/* Inner content area where your existing HTML goes */
.page-content {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-main);
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--bg-header);
  margin: 1.25rem 0 0.5rem;
}

.page-content p {
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.page-content ul,
.page-content ol {
  margin: 0.75rem 0 0.75rem 1.25rem;
}

.page-content li {
  margin-bottom: 0.35rem;
}

/* =========
   Buttons / Links
   ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--bg-accent);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: var(--bg-accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--bg-accent);
  border: 1px solid var(--bg-accent);
}

.btn-outline:hover {
  background: var(--bg-accent);
  color: var(--text-light);
}

/* Special class for Careers Google Form links */
.btn-form-link {
  position: relative;
}

.btn-form-link::after {
  content: '↗';
  font-size: 0.85rem;
}

/* =========
   Carousel
   ========= */
.hero-carousel {
  background: linear-gradient(120deg, #0b1120, #1e293b);
  padding: 1.5rem 0 2rem;
  margin-bottom: 1rem;
}

.carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  background: #020617;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  color: var(--text-light);
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  opacity: 0.8;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.carousel-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.carousel-text {
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: rgba(37, 99, 235, 0.9);
}

.carousel-control.prev {
  left: 12px;
}

.carousel-control.next {
  right: 12px;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(148, 163, 184, 0.8);
  cursor: pointer;
}

.carousel-dot.active {
  background: #38bdf8;
}

/* =========
   Footer
   ========= */
.site-footer {
  margin-top: auto;
  background: var(--bg-footer);
  color: var(--text-light);
  padding: 1.5rem 1rem 2rem;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
}

.footer-social {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-light);
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: #38bdf8;
}

/* =========
   Forms (for contact / careers)
   ========= */
form {
  display: grid;
  gap: 0.8rem;
}

label {
  font-weight: 500;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  background: #f9fafb;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* =========
   Floating Quick Links Button + Menu
   ========= */
.quick-links-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-accent);
  color: var(--text-light);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.4);
  border: none;
  z-index: 120;
}

.quick-links-btn:hover {
  background: var(--bg-accent-dark);
}

.quick-links-menu {
  position: fixed;
  bottom: 94px;
  right: 24px;
  background: #020617;
  color: #e5e7eb;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
  min-width: 180px;
  display: none;
  z-index: 110;
}

.quick-links-menu.active {
  display: block;
}

.quick-links-menu a {
  display: block;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.quick-links-menu a:hover {
  color: #38bdf8;
}

/* Small screens */
@media (max-width: 640px) {
  .page-content-card {
    padding: 1.25rem 1rem;
  }

  .carousel-slide img {
    height: 210px;
  }
}
